package InheritanceExercises;
//泰迪
public class Teddy extends Dog{
    @Override
    public void eat() {
        System.out.println("一只名为:"+getName()+"的"+getAge()+"泰迪,正在吃骨头!");

    }
}
